﻿using System;
using System.Collections.Generic;

namespace Rj_GsInsurance.Server.DataBaseContext.Entities
{
    /// <summary>
    /// 线上医保明细上传和支付下单记录
    /// </summary>
    public partial class RegOnlineGjYiBaoUploadFeeRecord
    {
        public long Id { get; set; }
        /// <summary>
        /// 就诊人姓名
        /// </summary>
        public string? PatName { get; set; }
        /// <summary>
        /// 证件类型
        /// </summary>
        public string? CardType { get; set; }
        /// <summary>
        /// 证件号码
        /// </summary>
        public string? CardNo { get; set; }
        /// <summary>
        /// 结算单号
        /// </summary>
        public long? ChargeNo { get; set; }
        /// <summary>
        /// 门诊序号
        /// </summary>
        public long? RegNo { get; set; }
        /// <summary>
        /// 0 挂号 1 缴费
        /// </summary>
        public int? Flag { get; set; }
        /// <summary>
        /// 医院编码
        /// </summary>
        public string? HospitalCode { get; set; }
        /// <summary>
        /// 医保-支付订单号
        /// </summary>
        public string? PayOrdId { get; set; }
        /// <summary>
        /// 医保-支付Token
        /// </summary>
        public string? PayToken { get; set; }
        /// <summary>
        /// 医保-订单状态
        /// </summary>
        public string? OrdStas { get; set; }
        /// <summary>
        /// 医保-费用总额
        /// </summary>
        public decimal? FeeSumamt { get; set; }
        /// <summary>
        /// 医保-现金支付
        /// </summary>
        public decimal? OwnPayAmt { get; set; }
        /// <summary>
        /// 医保-个人账户支出
        /// </summary>
        public decimal? PsnAcctPay { get; set; }
        /// <summary>
        /// 医保-医保基金支付
        /// </summary>
        public decimal? FundPay { get; set; }
        /// <summary>
        /// 医保-住院押金
        /// </summary>
        public decimal? Deposit { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreatedDate { get; set; }
        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime? UpdatedDate { get; set; }
        /// <summary>
        /// 支付渠道 11-支付宝小程序 12-微信小程序 13-微信公众号 
        /// </summary>
        public int? Payway { get; set; }
        /// <summary>
        /// 微信授权码
        /// </summary>
        public string? AuthCode { get; set; }
        /// <summary>
        /// 用户姓名
        /// </summary>
        public string? UserName { get; set; }
        /// <summary>
        /// 用户参保地代码
        /// </summary>
        public string? CityId { get; set; }
        /// <summary>
        /// 医保线上核验payAuthNo
        /// </summary>
        public string? PayAuthNo { get; set; }
        /// <summary>
        /// 经度
        /// </summary>
        public string? Longitude { get; set; }
        /// <summary>
        /// 纬度
        /// </summary>
        public string? Latitude { get; set; }
        /// <summary>
        /// 医保线上核验ecQrcode
        /// </summary>
        public string? EcQrcode { get; set; }
        /// <summary>
        /// 医保卡号
        /// </summary>
        public string? UserCardNo { get; set; }
    }
}
